package com.yuyou.train.service.api.user.dto;


import java.util.Date;
import java.util.List;

/**
 * Created by yujin.liu on 2018/3/9.
 */
public class UserLessonCommentDTO {


    /** 业务主键 */
    private String id;

    /** 用户名 */
    private String userName;

    /** 用户头像 */
    private String headImg;

    /** 类型：01：感想，02：资源，03：班级（课程）*/
    private String type;

    private String resourceType;

    /** 评论内容 */
    private String content;

    /** 打星 */
    private Integer star;

    /** 审核状态：0：待审核，1：通过：2不通过 */
    private String verifyStatus;

    /** 是否点赞 */
    private Boolean ifPraise;

    /** 点赞数 */
    private Integer praise;

    /** 评论总数 */
    private Integer commentSum;

    /** 创建时间 */
    private Date createTime;

    /** 子评论 */
    private List<UserLessonCommentDTO> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStar() {
        return star;
    }

    public String getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(String verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public Boolean getIfPraise() {
        return ifPraise;
    }

    public void setIfPraise(Boolean ifPraise) {
        this.ifPraise = ifPraise;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public Integer getCommentSum() {
        return commentSum;
    }

    public void setCommentSum(Integer commentSum) {
        this.commentSum = commentSum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public List<UserLessonCommentDTO> getChildren() {
        return children;
    }

    public void setChildren(List<UserLessonCommentDTO> children) {
        this.children = children;
    }
}
